import request from '@/utils/request'

// 获取班级列表信息
export function findCurriculumPageList(data) {
    return request({
      url: 'classInfo/findCurriculumPageList',
      method: 'post',
      data
    })
}


//新增修改课表
export function addOrUpdateCurriculum(data) {
    return request({
      url: 'classInfo/addOrUpdateCurriculum',
      method: 'post',
      data
    })
}
//课表详情
export function findDetail(data) {
    return request({
      url: 'classInfo/findDetail',
      method: 'post',
      data
    })
}
//删除课表
export function deleteCurriculum(data) {
    return request({
      url: 'classInfo/deleteCurriculum',
      method: 'post',
      data
    })
}

//模板导出
export function curriculumImportTemplate() {
    return request({
      url: 'classInfo/importTemplate',
      responseType:'blob',
      method: 'get',
      
    })
}

export function exportCurriculum(query) {
  return request({
    url: 'classInfo/export',
    responseType:'blob',
    method: 'get',
    params:query
    
  })
}





